package org.com.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.com.pojo.Farms;
import org.com.pojo.FarmsImages;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;

/**
* @author 86134
* @description 针对表【farms_images】的数据库操作Mapper
* @createDate 2025-02-27 16:34:32
* @Entity org.com.pojo.FarmsImages
*/
@Mapper
public interface FarmsImagesMapper extends BaseMapper<FarmsImages> {
    boolean insertFarmsImages(FarmsImages farmImage);

    /**
     * 根据农场ID查询所有图片URL
     * @param farmId 农场ID
     * @return 图片URL列表
     */
    List<String> selectImageUrlsByFarmId(Integer farmId);
}




